package com.youhome.service.service.impl;

import com.youhome.service.mapper.DistrictMapper;
import com.youhome.service.model.District;
import com.youhome.service.service.DistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by chen365 on 2018/09/30.
 */
@Service
public class DistrictServiceImpl implements DistrictService {
    @Autowired
    private DistrictMapper districtMapper;

    @Override
    public List<District> selectByPid(Long pid) {
        return districtMapper.selectByPid(pid);
    }
}
